package jichen;

/*
上课的方法不同，java老师用idea上课
 */
public class JavaTeaher extends Teacher {

    public JavaTeaher(String name, int age, String teachdate, String sex) {
        super(name, age, teachdate, sex);

    }

    public void Java() {
        System.out.println("java老师熟练使用java");
    }

    public void print() {
        System.out.println("Java老师使用idea进行上课");
        super.print();
    }

}
